package com.scwatch.ext.repository;

import com.scwatch.common.orm.Limitable;
import com.scwatch.ext.domain.LiveBroadcastAddress;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.repository.Repository;
import java.util.List;

public interface LiveBroadcastAddressDao extends Repository<LiveBroadcastAddress, Integer> {

     Page<LiveBroadcastAddress> findAll(Specification<LiveBroadcastAddress> spec,   Pageable pageable);

     List<LiveBroadcastAddress> findAll(Specification<LiveBroadcastAddress> spec, Limitable limit);

     LiveBroadcastAddress findOne(Integer id);

     LiveBroadcastAddress save(LiveBroadcastAddress bean);

     void delete(LiveBroadcastAddress bean);

}
